public class Exponents {
    public static void main(String[] args) {
        // Exponential notation
        double d1 = 1.0e-3; // 1.0 * 10^-3
        System.out.println("d1: " + d1);

        double d2 = 1.0e3; // 1.0 * 10^3
        System.out.println("d2: " + d2);

        // Scientific notation
        double d3 = 1.0E-3; // 1.0 * 10^-3
        System.out.println("d3: " + d3);

        double d4 = 1.0E3; // 1.0 * 10^3
        System.out.println("d4: " + d4);
    }
}
